package library.po;

import lombok.Data;

import java.util.List;

@Data
public class User {
    private String userId;

    private String userName;

    private String userSex;

    private String userPassword;

    private Integer userCredit;

    private Integer userType;


    public User(String userId,String userPassword,Integer userType){
        this.setUserId(userId);
        this.setUserPassword(userPassword);
        this.setUserType(userType);
    }

    public User(){
        super();
    }

    public User(String userId, String password, String userName, String sex, int type,int credit) {
        this.userName = userName;
        this.userId = userId;
        this.userPassword = password;
        this.userSex = sex;
        this.userType = type;
        this.userCredit = credit;
    }
}